<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel = 'stylesheet' href='./FmBoard/Board.css'/>
<script src='./FmBoard/Board.js'></script>
</head>
<body>
	
	<%
	String m="";
	if(session.getAttribute("sessionMid")!=null){
		m = (String)session.getAttribute("sessionMid");
	}
	
	%>
	
	<div class = 'content'>
		
		
		<form name='hiddenFrm' method='post' enctype="multipart/form-data">
			
			<div class = 'inputContent'>
			
				<h1 align = 'center'>게시물 등록</h1><hr/>
				<div class = 'items'>
					<div class='item'>&nbsp;&nbsp;&nbsp;품종&nbsp;&nbsp;&nbsp;</div> 
					
					<div id='chKind' class = 'itemInput'><select name='kind' size='1'>
							<option value='강아지'>강아지</option>
							<option value='고양이'>고양이</option>
							<option value='페릿'>페릿</option>
							<option value='호랑이'>호랑이</option>
							<option value='팬더'>팬더</option></select>
					</div>
<!-- 				<p/> -->
				</div>
				
				
				<div class = 'items'>
					<div class='item'>&nbsp;&nbsp;&nbsp;보호지역&nbsp;&nbsp;&nbsp;</div>
					<div id='chLocate'  class = 'itemInput'><select name='locate' size='1'>
							<option value='서울시'>서울시</option>
							<option value='경상도'>경상도</option>
							<option value='전라도'>전라도</option>
							<option value='강원도'>강원도</option>
							<option value='함경도'>함경도</option></select>
					</div>		
				</div>
				
				
				
				<div class = 'items'>
					<div class='item'>&nbsp;&nbsp;&nbsp;성별&nbsp;&nbsp;&nbsp;</div>
					<div id='chGender'  class = 'itemInput'>	 
						<select name='gender' size='1'>
							<option value='남아'>남아</option>
							<option value='여아'>여아</option>
						</select>
					</div>
				</div>
	
	
				<div class = 'items'>
					<div class='item'>&nbsp;&nbsp;&nbsp;나이&nbsp;&nbsp;&nbsp;</div>
					<div id='chAge'  class = 'itemInput'>
						<input type='number' min='0' max = '99' value='0' name='age' size='2'/>살
					</div>
				</div>
				
				
				<div class = 'items'>
					<div class='item'>&nbsp;&nbsp;&nbsp;책임비&nbsp;&nbsp;&nbsp;</div>
					<div id='chMoney'  class = 'itemInput'>
						<input type='number' min='0' max = '100000' value='30000' name='money' step='10000' size = '13'/>원
					</div>
				</div>
				
				
				<div class = 'items'>		
					<div id='chFile'  class = 'itemInput'>&nbsp;&nbsp;&nbsp;<input type='file' name='pic' value='파일 첨부'/>&nbsp;&nbsp;&nbsp;</div>
					<p/>
				</div>
		
			</div>
			
			<div id='chSubject' class = 'subject'><input type='text' name='subject' id='subject'  placeholder = '제목을 입력해주세요.'/></div>
			<p/>
			<div id='chContent' class = 'area'><textarea  name='content' id='content' ></textarea></div>
					
			
		<!-- <table align = 'center' border = '1px'>
		<tr>
			<td rowspan=2><div id='imgArea'></div></td>
			<td width="50" bgcolor='#99ccff'>품종</td>
			<td><select name='kind' size='1'>
				<option value='강아지'>강아지</option>
				<option value='고양이'>고양이</option>
				<option value='페릿'>페릿</option>
				<option value='호랑이'>호랑이</option>
				<option value='팬더'>팬더</option></select></td>
			<td bgcolor='#99ccff'>보호지역</td>
			<td><select name='locate' size='1'>
				<option value='서울시'>서울시</option>
				<option value='경상도'>경상도</option>
				<option value='전라도'>전라도</option>
				<option value='강원도'>강원도</option>
				<option value='함경도'>함경도</option></select></td>
			<td bgcolor='#99ccff'>성별</td>
			<td><select name='gender' size='1'>
				<option value='남아'>남아</option>
				<option value='여아'>여아</option></select></td></tr>
		<tr>
			<td width="50" bgcolor='#99ccff'>제목</td>
			<td colspan=5><input type='text' name='subject' id='subject'/></td></tr>
		<tr>
			<td><input type='file' name='pic' value='파일 첨부'/></td>
			<td width="50" bgcolor='#99ccff'>나이</td>
			<td><input type='number' min='0' value='0' name='age' size='10'/>살</td>
			<td bgcolor='#99ccff'>책임비</td>
			<td><input type='number' min='0' value='30000' name='money' step='10000'/>원</td></tr>
		<tr>
			<td colspan=7><textarea  name='content' id='content' ></textarea></td></tr>
		</table> -->
		
		<div class = 'btnall'>	
			<input type='button' value='확인' id='btnSave'/>
			<input type='button' value='취소' id='btnList'/>
		</div>
		
		<input type='hidden' value='<%=m %>' id='smid'/>
		
		</form>
	</div>

</body>

<script>bInputInit();</script>

</html>